<extend name="public:base" />

<block name="body">
    <include file="public/bread" menu="applyarea_index" title="下载列表" />
    <div id="page-wrapper">

        <div class="row list-header">
            <div class="col-md-6">
                <div class="btn-toolbar list-toolbar" role="toolbar" aria-label="Toolbar with button groups">

                    <a href="{:url('ApplyArea/add')}" class="btn btn-outline-primary btn-sm mr-2"><i class="ion-md-add"></i> 添加记录</a>

                </div>
            </div>


        </div>
        <table class="table table-hover table-striped">
            <thead>
            <tr>
                <th width="50">编号</th>
                <th>标题</th>
                <th>附件说明</th>
                <th>创建时间</th>
                <th>删除</th>
                <th>编辑</th>
                <th width="160">&nbsp;</th>
            </tr>
            </thead>
            <tbody>
            <volist name="data2" id="vo" >
                <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.title}</td>
                    <td>{$vo.describle}</td>
                    <td>{$vo.create_time}</td>

                    <!--                重点！！！！！！！获取id-->
                    <td><a class="btn btn-outline-primary" href="{:url('ApplyArea/deleteinfo')}?id={$vo.id}">删除</a> </td>
                    <td><a class="btn btn-outline-primary" href="{:url('ApplyArea/edit')}?id={$vo.id}">编辑</a> </td>
                </tr>
            </volist>
            </tbody>
        </table>
        <div class="clearfix"></div>


    </div>
</block>
